package com.intertid.mongodb.test
import com.intertid.mongodb.annotations.Entity
import org.bson.types.ObjectId
import scala.reflect.BeanProperty
import com.intertid.mongodb.annotations.ID

@Entity
class Dept {
  @BeanProperty
  @ID
  var id: ObjectId = _;

  @BeanProperty
  var deptName: String = _;
}